package com.scs.ui.simple.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.scs.ui.simple.service.DateService;

@RestController
public class DateController {
	@Autowired
	DateService dateService;
	
	@RequestMapping(value = "/date", method = RequestMethod.GET)
	String getDate() {
		return dateService.getDate();
	}
}
